public class main6 {
    public static void main(String[] args){
        int i=1;
        for(;i<=100;i++){
            if(i%15==0){
                System.out.println(i);
                continue;
            }
        }
    }
}
